package com.service;

import com.pojo.Building;
import org.springframework.stereotype.Service;

import java.util.List;


public interface BuildService {

    public List<Building> FindAllBuild();

    public Integer addBuild(Building build);


    public Integer addBuildAdmin(String id,String adminid);

    Integer DeleteBuild(String id);

    Integer DeleteBuildEmp(String id);

    Integer updateBuild(Building building);

    Integer updateBuildEmp(String id, String eid);

    Building selectByName(String name);

}
